logging:
  file:
    name: logs/${spring.application.name}.log
  level:
    root: warn
    '[org.jmresler.sakila.batch]': debug


spring:
  batch:
    jdbc:
      initialize-schema: never
  datasource:
    meta:
      driver-class-name: org.postgresql.Driver
      url: jdbc:postgresql://localhost:5432/meta
      username: postgres
      password: 'password'
    sakila:
      driver-class-name: org.postgresql.Driver
      url: jdbc:postgresql://localhost:5432/sakila
      username: postgres
      password: 'password'
  jpa:
    database-platform: org.hibernate.dialect.PostgreSQLDialect
    generate-ddl: true
    properties:
      hibernate:
        '[show_sql]': true
        '[format_sql]': true
        '[use_sql_comments]': true
  sql:
    init:
      mode: always
